﻿<%@ Page Language="C#" MasterPageFile="~/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="AddSize.aspx.cs" Inherits="Pages_AddSize" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

    <style type="text/css">
        .style1
        {
            height: 254px;
        }
        .style2
        {
            height: 38px;
        }
        .style4
        {
            height: 39px;
        }
        .style5
        {
            height: 36px;
        }
    </style>
<title>Imagevn upload and printing pro</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="titleClient">
<h1 style="width:500px; float:left">Add Size and Quantity</h1><div style="width:80px; float:right; margin-right:40px"><a href="../Pages/Cart.aspx"><img src="../Images/buttonViewCart.png" height="32" width="113" /></a></div>
<div class="clear"></div></div>

<div class="contentClient">
    <div id="MainContent">
        <div style="text-align:center; padding:10px; margin:0px auto; width:800px">
            <table style="width: 300px; margin:10px auto">
                <tr>
                    <td style="text-align:center" colspan="2" class="style1">
                        <asp:Image ID="Image1" runat="server" Width="200px" Height="200px"/>
                    </td>
                </tr>
                <tr>
                    <td class="style2" style="text-align:left">
                        Size: 
                    </td>
                    <td class="style2" style="text-align:left">
                        <asp:DropDownList ID="cbxSize" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style5" style="text-align:left">
                        Quantity:
                    </td>
                    <td class="style5" style="text-align:left">
                        <asp:TextBox ID="txtQuantity" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style4" style="text-align:left">
                        </td>
                    <td class="style4" style="text-align:left">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="* Quantity is not empty" Display="Dynamic" ControlToValidate="txtQuantity"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ErrorMessage="* Invalid Quantity" ControlToValidate="txtQuantity" 
                            Display="Dynamic" ValidationExpression="\d+"></asp:RegularExpressionValidator>
                        </td>
                </tr>
                <tr>
                    <td>
                        
                    </td>
                    <td style="text-align:left">
                        <asp:Button ID="btnAdd" runat="server" Text="" CssClass="addCart" 
                            onclick="btnAdd_Click" />
                        <asp:Button ID="btnContinue" runat="server" CausesValidation="false" 
                            CssClass="continue" Text="" onclick="btnContinue_Click" />
                    </td>
                </tr>
                
                </table>
        </div>
    </div>
</div>

</asp:Content>

